<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
	<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
	<meta name="author" content="<?php echo get_setting('Author'); ?>" />
	<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
	<link rel="stylesheet" href="<?php echo $theme_url; ?>css/style.css" type="text/css" media="all" charset="utf-8" />
	<!--[if IE]><link rel="stylesheet" href="<?php echo $theme_url; ?>css/style_ie.css" type="text/css" media="all" charset="utf-8" /><![endif]-->
	
</head>

<body>
	
	<div id="simply">
		
		<!-- header -->
		<div id="header">
			<div class="wrap clear">
				<!-- logo -->
				<div id="logo">
					<h1><a href="<?php echo $base_url; ?>"><?php echo get_setting('Site Name'); ?></a></h1>
					<h2><?php echo get_setting('Slogan'); ?></h2>
				</div>
				<!-- / logo -->
				
				<!-- navigation -->
				<div id="nav">
					<div class="nav-wrap"><?php echo secondary_navigation("%s", "%s", "<a href='%2\$s'>%1\$s</a> ", "<span>%s</span>"); ?></div>
				</div>
				<!-- / navigation -->
			</div>
		</div>
		<!-- / header -->
		
		<!-- middle -->
		<div id="middle">
			<div class="wrap clear">
				<!-- content -->
				<div id="content">
					<h2><?php echo page_title(); ?></h2>
					<?php echo page_content(); ?>
					<br style="clear:both;height:1px;" />
				</div>
				<!-- / content -->
				
				<!-- sidebar -->
				<div id="sidebar">
					<?php echo sidebar('%s',<<<EOT
					<div class="sidebar-nav box">
						<h3>%1\$s</h3>
						%2\$s
					</div>
EOT
, array("\n<ul>\n%s\n</ul>\n"), array("\n<ul>\n%s\n</ul>\n")); ?>
					
				</div>
			</div>
		</div>
		<div id="footer">
			<div class="wrap">
				<p class="lft"><?php echo get_setting('Footer');?>. <?php echo get_setting('Powered By'); ?></p>
				<p class="rgt">designed by <a href="http://www.renehornig.com/" title="webdesign berlin">rené hornig</a></p>
			</div>
		</div>
		
	</div>

</body>
</html>
